package com.ExtendsOverride;

public class B extends A {
    @Override//注解检查方法重写是否真确
    public void print(){
        System.out.println("666");
    }
    @Override
    public void print2(int a,int b){
        System.out.println("666666");
    }
}
